package com.yyp.car.Iservice;

import java.util.List;

import com.yyp.car.model.User;

public interface IUserService{
	public User login(String username,String password);
	public User register(User user);
	public void update(User user);
	public void delete(int id);
	public List<User> listTeacher();
	public User load(int id);
	public List<User> listStudent();
	public User findById(int id);
	public List<User> listStudentByTid(int tid);
	public String findPassword(int id);
	public void changePassword(int id,String password);
	public User findUser(String username);
	public List<User> listAllStudent();
	public void blackStudent(int id);
	public void whiteStudent(int id);
}
